<?php
	@session_start();	
?>
<!-- START OPTIMIZE -->
		<link rel="stylesheet" type="text/css" href="Libraries/css/global.css"/>
		<link rel="stylesheet" type="text/css" href="Libraries/css/master.css"/>
		</style>
		<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
        <script type="text/javascript">
		$(document).ready(function() {
			$('div.from_dn').hide();
            $('div.menu ul li a:eq(1)').click(function(){
					$(this).parent('li').parent('ul').parent('div').prev('div').find('div.from_dn').slideToggle('slow');
					return false;
				});
        });
		<!--Ham tu dong lam tuoi trang web-->
		init_reload();
		function init_reload(){
			setInterval( function() {
					   window.location.reload();
	
			  },60000);
		}
		</script>
<div id="img-top"> 
	<div id="Container">
		<a href="index1.php"><div id="LogoCTU" title="Đại Học Cần Thơ"></div></a>
        <div id="banner-f">
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"   
                    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1400" height="110">
              <param name="movie" value="Libraries/images/banner5.swf" />
              <param name="quality" value="high" />
              <param name="allowScriptAccess" value="always" />
              <param name="wmode" value="transparent"/>
                 <embed src="Libraries/images/banner5.swf"
                  quality="high"
                  type="application/x-shockwave-flash"
                  WMODE="transparent"
                  width="1400"
                  height="110"
                  pluginspage="http://www.macromedia.com/go/getflashplayer"
                  allowScriptAccess="always" />
            </object></div>
    <!--  END <div id="slogan"><h1 title="Quản Lý Lý Lịch Khoa Học"></h1></div>-->
         
         <div id="info_per" >
             <div class="row_head"> 
					 <?php
                       if (isset($_SESSION['nmaso']))
                        {
                              echo '</div>
                              <div class="row_head" style="font-size: 17px; color: white; padding: 9px;"> <span id="">Xin Chào ';
                              echo $_SESSION['nten'];
                              echo "&nbsp;&nbsp;|  ";
                              echo "<a href='javascript:thoat();'>Thoát</a></span>" ;
                              echo "<a href='index.php'>Đi đến trang cá nhân</a>" ;
                              echo"<style type='text/css'>div.menu ul li:last-child{display:none;}</style>";
                        }
                    else{
                      ?>
                      
                      <div class="from_dn">
                          <form name="frmdangnhap" action="Controls/DangnhapController.php" method="post">
                             <div id="row1">
                                    <span>Tên đăng nhập</span>
                                    <input type="text" id="txtmaso" name="txtmaso"/>
                             </div>
                             <div id="row2">
                                    <span>Mật khẩu<span>
                                    <input type="password" id="txtmatkhau" name="txtmatkhau"/>
                             </div>
                             <div id="row3">
                                    <input name="btndangnhap" type="submit" value="Đăng nhập" />
                             </div>
                          </form>
                    </div><!--end form--->
                      <?php
                        }
                      ?>  
               </div><!--End div row-head--->         

           </div><!---End div info--->
	<!------------------------------------------------------------>
            <div id="menu" class="menu">
                    
                    <ul>
                        <li><a href="index1.php"> Trang chủ</a>	
                        </li>
                        <li>
                            <a href="">Đăng nhập</a>
                        </li>
                    </ul>		
                </div><!--End #menu-->	
    </div>	<!--End #Container-->
 </div> <!--End #img-top-->